package com.sdy.dataexchange.meta.service.impl;
//import com.sdy.dataexchange.biz.mapper.MetadataClassifyMapper;

import com.sdy.dataexchange.biz.model.ExDbDict;
import com.sdy.dataexchange.meta.mapper.MetadataClassifyMapper;
import com.sdy.dataexchange.meta.model.MetadataClassify;
import com.sdy.dataexchange.meta.service.MetadataClassifyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author wyy
 * @since 2019-10-25
 */
@Slf4j
@Service
public class MetadataClassifyServiceImpl implements MetadataClassifyService {
    @Autowired
    private MetadataClassifyMapper metadataClassifyMapper;

    @Override
    public List<ExDbDict> queryDb(Integer dbId) {
        return metadataClassifyMapper.queryDb(dbId);
    }


    /**
     * 添加分类
     *
     * @param fid
     * @return
     */
    @Override
    public Integer addClassify(Integer fid) {
        return 1;
    }


    @Override
    public List<MetadataClassify> queryMetadataClassify() {
        return null;
    }

    @Override
    public Integer addMetadataClassify(Integer fid, String classifyName) {
        return null;
    }

    @Override
    public Integer delMetadataClassify(Integer id) {
        return null;
    }

    @Override
    public Integer updMetadataClassify(Integer id, String classifyName) {
        return null;
    }
}
